Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.theme.nuxeo.webapp--flavors

This contribution is part of XML component org.nuxeo.theme.nuxeo.webapp inside nuxeo-platform-webapp-core-8.10.jar /OSGI-INF/theme-contrib.xml

Extension Point

Extension point flavors of component service.

Contributed Items

  • <flavor name="default">
          <label>label.theme.flavor.nuxeo.default</label>
          <logo>
            <path>/img/nuxeo_logo.png</path>
            <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
            <width>113</width>
            <height>20</height>
            <title>Nuxeo</title>
          </logo>
          <links>
            <icon name="icon">/icons/favicon.png</icon>
            <icon name="shortcut icon">/icons/favicon.ico</icon>
          </links>
          <presetsList>
            <presets category="border" src="themes/palettes/default-borders.properties"/>
            <presets category="background" src="themes/palettes/default-backgrounds.properties"/>
            <presets category="font" src="themes/palettes/default-fonts.properties"/>
            <presets category="color" src="themes/palettes/default-colors.properties"/>
          </presetsList>
          <palettePreview>
            <colors>
              <color>#17384e</color>
              <color>#00adff</color>
              <color>#00adff</color>
              <color>#00adff</color>
              <color>#fff</color>
              <color>#00adff</color>
              <color>#404040</color>
              <color>#cfecff</color>
              <color>#e6f1ff</color>
            </colors>
          </palettePreview>
          <sass>
            <import src="themes/palettes/common_variables.scss"/>
            <import src="themes/palettes/default_variables.scss"/>
          </sass>
        </flavor>
  • <flavor name="rainbow">
          <label>label.theme.flavor.nuxeo.rainbow</label>
          <logo>
            <path>/img/nuxeo_logo.png</path>
            <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
            <width>113</width>
            <height>20</height>
            <title>Nuxeo</title>
          </logo>
          <links>
            <icon name="icon">/icons/favicon.png</icon>
            <icon name="shortcut icon">/icons/favicon.ico</icon>
          </links>
          <presetsList append="true">
            <presets category="border" src="themes/palettes/rainbow-borders.properties"/>
            <presets category="background" src="themes/palettes/rainbow-backgrounds.properties"/>
            <presets category="font" src="themes/palettes/rainbow-fonts.properties"/>
            <presets category="color" src="themes/palettes/rainbow-colors.properties"/>
          </presetsList>
          <palettePreview>
            <colors>
              <color>#595ca1</color>
              <color>#bdd4ef</color>
              <color>#4095ff</color>
              <color>#da4f70</color>
              <color>#41b6ab</color>
              <color>#b34f94</color>
              <color>#332e2e</color>
              <color>#cfffd1</color>
              <color>#feffe6</color>
            </colors>
          </palettePreview>
          <sass>
            <import src="themes/palettes/common_variables.scss"/>
            <import src="themes/palettes/alternative_variables.scss"/>
          </sass>
        </flavor>

XML Source

<extension point="flavors" target="org.nuxeo.theme.styling.service">

    <flavor name="default">
      <label>label.theme.flavor.nuxeo.default</label>
      <logo>
        <path>/img/nuxeo_logo.png</path>
        <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
        <width>113</width>
        <height>20</height>
        <title>Nuxeo</title>
      </logo>
      <links>
        <icon name="icon">/icons/favicon.png</icon>
        <icon name="shortcut icon">/icons/favicon.ico</icon>
      </links>
      <presetsList>
        <presets category="border" src="themes/palettes/default-borders.properties"/>
        <presets category="background" src="themes/palettes/default-backgrounds.properties"/>
        <presets category="font" src="themes/palettes/default-fonts.properties"/>
        <presets category="color" src="themes/palettes/default-colors.properties"/>
      </presetsList>
      <palettePreview>
        <colors>
          <color>#17384e</color>
          <color>#00adff</color>
          <color>#00adff</color>
          <color>#00adff</color>
          <color>#fff</color>
          <color>#00adff</color>
          <color>#404040</color>
          <color>#cfecff</color>
          <color>#e6f1ff</color>
        </colors>
      </palettePreview>
      <sass>
        <import src="themes/palettes/common_variables.scss"/>
        <import src="themes/palettes/default_variables.scss"/>
      </sass>
    </flavor>

    <flavor name="rainbow">
      <label>label.theme.flavor.nuxeo.rainbow</label>
      <logo>
        <path>/img/nuxeo_logo.png</path>
        <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
        <width>113</width>
        <height>20</height>
        <title>Nuxeo</title>
      </logo>
      <links>
        <icon name="icon">/icons/favicon.png</icon>
        <icon name="shortcut icon">/icons/favicon.ico</icon>
      </links>
      <presetsList append="true">
        <presets category="border" src="themes/palettes/rainbow-borders.properties"/>
        <presets category="background" src="themes/palettes/rainbow-backgrounds.properties"/>
        <presets category="font" src="themes/palettes/rainbow-fonts.properties"/>
        <presets category="color" src="themes/palettes/rainbow-colors.properties"/>
      </presetsList>
      <palettePreview>
        <colors>
          <color>#595ca1</color>
          <color>#bdd4ef</color>
          <color>#4095ff</color>
          <color>#da4f70</color>
          <color>#41b6ab</color>
          <color>#b34f94</color>
          <color>#332e2e</color>
          <color>#cfffd1</color>
          <color>#feffe6</color>
        </colors>
      </palettePreview>
      <sass>
        <import src="themes/palettes/common_variables.scss"/>
        <import src="themes/palettes/alternative_variables.scss"/>
      </sass>
    </flavor>

  </extension>